package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * 研发中心展示对象 product_center_list
 *
 * @author ruoyi
 * @date 2025-02-01
 */
public class ProductCenterList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Uuid */
    private String productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private Long productType;

    /** 产品封面图片的url */
    @Excel(name = "产品封面图片的url")
    private String pictureUrl;

    /** 演示视频的url */
    @Excel(name = "演示视频的url")
    private String videoUrl;

    /** 系统的功能描述 */
    @Excel(name = "系统的功能描述")
    private String productDetails;

    /** 标杆产品的排序顺序 */
    @Excel(name = "标杆产品的排序顺序")
    private Long top;

    /** 研发完成时间 */
    @Excel(name = "研发完成时间")
    private String productTime;

    /** 研发背景 */
    @Excel(name = "研发背景")
    private String productBg;

    /** 产品的源代码链接 */
    @Excel(name = "产品的源代码链接")
    private String giteeUrl;

    // 用于接收上传的文件，但不映射到数据库
    private MultipartFile avatarFile;

    private MultipartFile videoFile;

    public MultipartFile getVideoFile() {
        return videoFile;
    }

    public void setVideoFile(MultipartFile videoFile) {
        this.videoFile = videoFile;
    }

    public MultipartFile getAvatarFile() {
        return avatarFile;
    }

    public void setAvatarFile(MultipartFile avatarFile) {
        this.avatarFile = avatarFile;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductType(Long productType)
    {
        this.productType = productType;
    }

    public Long getProductType()
    {
        return productType;
    }
    public void setPictureUrl(String pictureUrl)
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl()
    {
        return pictureUrl;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setProductDetails(String productDetails)
    {
        this.productDetails = productDetails;
    }

    public String getProductDetails()
    {
        return productDetails;
    }
    public void setTop(Long top)
    {
        this.top = top;
    }

    public Long getTop()
    {
        return top;
    }
    public void setProductTime(String productTime)
    {
        this.productTime = productTime;
    }

    public String getProductTime()
    {
        return productTime;
    }
    public void setProductBg(String productBg)
    {
        this.productBg = productBg;
    }

    public String getProductBg()
    {
        return productBg;
    }
    public void setGiteeUrl(String giteeUrl)
    {
        this.giteeUrl = giteeUrl;
    }

    public String getGiteeUrl()
    {
        return giteeUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("pictureUrl", getPictureUrl())
            .append("videoUrl", getVideoUrl())
            .append("productDetails", getProductDetails())
            .append("top", getTop())
            .append("productTime", getProductTime())
            .append("productBg", getProductBg())
            .append("giteeUrl", getGiteeUrl())
            .toString();
    }
}
